# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.

class ApplicationController < ActionController::Base
  helper :all 
  protect_from_forgery # :secret => '304d09165cd659f2f84ee6e12f6768cc'
  before_filter :reload_translations if ENV['RAILS_ENV'] == 'development'
    
  private
  
  def reload_translations
    I18n.backend.load_translations(*I18n.load_path)
  end
end
